package com.example.application.bean;

import java.util.Arrays;

public class Sales {

    private String name;

    private double price;

    private final int[] monthSale = new int[12];

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int[] getMonthSale() {
        return monthSale;
    }

    @Override
    public String toString() {
        return "Sales{" +
                "name='" + name + '\'' +
                ", price=" + price +
                ", monthSale=" + Arrays.toString(monthSale) +
                '}';
    }
}
